﻿using EMRView;
using EMRView.Extensions.HCAttribute;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace EMRView.Extensions.Command.StandardCommand.Format
{
    [Command(CommandType.格式化, "LeftIndent", "左缩进")]
    public class LeftIndentCommand : BaseCommand
    {
        public override Icon CommandIcon
        {
            get
            {
                return Properties.HCResource.左缩进;
            }
        }


        public override object Execute(HCEmrView _view, bool showDefaultUI = false, params object[] para)
        {
            _view.ApplyParaLeftIndent(false);
            return null;
        }

        public override void InitControl(object control)
        {

        }
    }
}
